<option value="">Don't save</option>
<?php foreach($fields as $field): ?>
<option value="<?php echo $field ?>" <?php echo (isset($fieldsMaps[$index]) && $fieldsMaps[$index] == $field) ? 'selected=selected': null ;?>><?php echo $field ?></option>
<?php endforeach; ?>
